package com.wzy.flowable.flow.service.impl;

import com.wzy.flowable.flow.mapper.FlowableProcessDefinitionDao;
import com.wzy.flowable.flow.service.FlowableProcessDefinitionService;
import com.wzy.flowable.flow.vo.ProcessDefinitionVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author : bruce.liu
 * @title: : FlowableProcessDefinitionServiceImpl
 * @projectName : flowable
 * @description: 流程定义service
 * @date : 2019/11/1314:18
 */
@Service
public class FlowableProcessDefinitionServiceImpl  implements FlowableProcessDefinitionService {

    @Autowired
    private FlowableProcessDefinitionDao flowableProcessDefinitionDao;

    @Override
    public ProcessDefinitionVo getById(String processDefinitionId) {
        return flowableProcessDefinitionDao.getById(processDefinitionId);
    }

}
